package com.relytosoft.mizar.media.display.api.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.relytosoft.mizar.media.display.api.entity.Rotagroup;
import io.swagger.annotations.ApiModelProperty;

/**
 * 巡检组显示实体
 *
 * @Author SunLi
 * @Date: 2022/4/12 9:39
 * @Version 1.0
 */
public class RotagroupVo extends Rotagroup {

    /**
     * 通道ID
     */
    @ApiModelProperty(value = "通道ID")
    @TableField(exist = false)
    private Integer channelId;
    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID")
    @TableField(exist = false)
    private Integer parentId;
    /**
     * 主码流URL
     */
    @ApiModelProperty(value = "主码流URL")
    @TableField(exist = false)
    private String channelMainRtspUrl;
    /**
     * 子码流URL
     */
    @ApiModelProperty(value = "子码流URL")
    @TableField(exist = false)
    private String channelSubRtspUrl;
    /**
     * 通道图标URL
     */
    @ApiModelProperty(value = "通道图标URL")
    @TableField(exist = false)
    private String imgUrl;

    public String getPlatformChannelCode() {
        return platformChannelCode;
    }

    public void setPlatformChannelCode(String platformChannelCode) {
        this.platformChannelCode = platformChannelCode;
    }

    /**
     * 第三方平台通道编码
     */
    @ApiModelProperty(value = "第三方平台通道编码")
    @TableField(exist = false)
    private String platformChannelCode;


    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getChannelMainRtspUrl() {
        return channelMainRtspUrl;
    }

    public void setChannelMainRtspUrl(String channelMainRtspUrl) {
        this.channelMainRtspUrl = channelMainRtspUrl;
    }

    public String getChannelSubRtspUrl() {
        return channelSubRtspUrl;
    }

    public void setChannelSubRtspUrl(String channelSubRtspUrl) {
        this.channelSubRtspUrl=channelSubRtspUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    @Override
    public String toString() {
        return "RotagroupVo{" +
                "channelId=" + channelId +
                ", parentId=" + parentId +
                ", channelMainRtspUrl='" + channelMainRtspUrl + '\'' +
                ", channelSubRtspUrl='" + channelSubRtspUrl + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", platformChannelCode='" + platformChannelCode + '\'' +
                '}';
    }
}
